import { MessageServiceApi } from "./_message";
import request from "@/api";

class MessageMessageServiceApi extends MessageServiceApi {
  initMessage() {
    return request.get(this.baseUrl + "/initMessage");
  }
  getUnReadMessage(queryparams: any) {
    return request.get(this.baseUrl + "/getUnReadMessage", { params: { ...queryparams } });
  }
  setAllRead() {
    return request.get(this.baseUrl + "/setAllRead");
  }
}
const messageMessageServiceApi = new MessageMessageServiceApi("/MessageService");

export default messageMessageServiceApi;
